package com.example.clock.basicClass;

import java.util.Date;

public class Plan {
    private String planId;
    private String planName;
    private String startDate;//xx-xx-xx
    private String endDate;//xx-xx-xx
    private int preTimes;//预计打卡次数
    private int finishTimes;//累计打卡次数
    private int lastTimeByTimes;//每次打卡需要的时长
    private int lastTime;//累计时长
    private String largeTags;//大标签
    private String smallTags;//小标签

    //constructor
    public Plan(String planId, String planName, String startDate, String endDate, int preTimes, int finishTimes, int lastTimeByTimes, int lastTime, String largeTags, String smallTags) {
        this.planId = planId;
        this.planName = planName;
        this.startDate = startDate;
        this.endDate = endDate;
        this.preTimes = preTimes;
        this.finishTimes = finishTimes;
        this.lastTimeByTimes = lastTimeByTimes;
        this.lastTime = lastTime;
        this.largeTags = largeTags;
        this.smallTags = smallTags;
    }

    //getter and setter
    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public int getPreTimes() {
        return preTimes;
    }

    public void setPreTimes(int preTimes) {
        this.preTimes = preTimes;
    }

    public int getFinishTimes() {
        return finishTimes;
    }

    public void setFinishTimes(int finishTimes) {
        this.finishTimes = finishTimes;
    }

    public int getLastTimeByTimes() {
        return lastTimeByTimes;
    }

    public void setLastTimeByTimes(int lastTimeByTimes) {
        this.lastTimeByTimes = lastTimeByTimes;
    }

    public int getLastTime() {
        return lastTime;
    }

    public void setLastTime(int lastTime) {
        this.lastTime = lastTime;
    }

    public String getLargeTags() {
        return largeTags;
    }

    public void setLargeTags(String largeTags) {
        this.largeTags = largeTags;
    }

    public String getSmallTags() {
        return smallTags;
    }

    public void setSmallTags(String smallTags) {
        this.smallTags = smallTags;
    }
}
